Gets or sets the unique identifier of this objective.
Parent Type: Objective
Namespace: Microsoft.LearningComponents.DataModel
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public string Id { get; set; } |
| Exception type | Condition |
| InvalidOperationException | Thrown if this LearningDataModel object cannot be written to. |
| ArgumentException | Thrown if the string passed is a duplicate value, or in SCORM 2004 packages, thrown if the value passed is empty, or if the string is not a valid URI. In SCORM 1.2 packages, this is thrown if any of the characters in the string are not alphanumeric or - or _. |
| ArgumentOutOfRangeException | Thrown if the string passed is longer than BaseSchemaInternal.AttemptObjectiveItem.MaxKeyLength characters in SCORM 2004 packages, or longer than 255 in SCORM 1.2 packages. |
In SCORM 2004, this corresponds to cmi.objectives.n.id.
In SCORM 1.2, this corresponds to cmi.objectives.n.id.
This property represents a identifier for the objective, which is required to be unique within the context of this RLO.